//
//  UITextField+CYTextField.m
//  cyjf
//
//  Created by tauCross on 2017/5/3.
//  Copyright © 2017年 Auto Financing. All rights reserved.
//

#import "UITextField+CYTextField.h"



@implementation UITextField (CYTextField)

+ (instancetype)cy_logInTextFieldWithPlaceholder:(NSString *)placeholder
{
    UITextField *textField = [[TCNoActionTextField alloc] init];
    textField.textColor = HEXCOLOR(@"333333");
    textField.font = [UIFont systemFontOfSize:14 weight:UIFontWeightRegular];
    textField.attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholder attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:14 weight:UIFontWeightRegular], NSForegroundColorAttributeName : HEXCOLOR(@"999999")}];
    return textField;
}

@end
